import axios from 'axios'

/*根据id获取商户信息 /rentserver/project/building/page?current=1&size=10 */
export const getHoserent = id => {
   return axios({
      method: 'GET',
      url:`/order/weborder/company/authInfo/${id}`,//rentserver/project/detail/3902
    })
}
    // 根据id集合获取房产信息
export const getStorageList = params => {
    return axios({
      method: 'GET',
      url:'/rentserver/project/exhibition/list',//rentserver/project/detail/3902
      params   
    })
}
    // 根据id集合获取房产信息
export const getHouseList = params => {
      return axios({
        method: 'GET',
        url:'/rentserver/project/building/list',//rentserver/project/detail/3902
        params   
      })
  }    
    // 根据时间跟房屋id计算价格
export const getCompute = data => {
    return axios({
      method: 'post',
      url:'/order/weborder/calculation',//rentserver/project/detail/3902
      data   
    })
}  
    // 确认提交接口（新增订单）
    export const append = data => {
      return axios({
        method: 'post',
        url:'/order/weborder/add',//rentserver/project/detail/3902
        data   
      })
  }  
  
